package com.itheima.tanhua.api;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.tanhua.domain.Settings;

public interface SettingsApi {

    //根据用户id查询通用设置
    Settings findByUserId(Long id);

    //添加一条新的记录
    void save(Settings settings);
    //根据id更新设置
    void updateById(Settings settings);
}